import request from '@/utils/request'

// 查询购物车列表
export function listPageOrderInfo(query, pageReq) {
  return request({
    url: '/oms/orderInfo/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}

export function handle(id) {
  return request({
    url: 'oms/orderInfo/handle/' + id,
    method: 'post'
  })
}

export function updateSend(id) {
  return request({
    url: '/oms/orderInfo/send/' + id,
    method: 'post'
  })
}
export function updatePayment(id) {
  return request({
    url: '/oms/orderInfo/payment/' + id,
    method: 'post'
  })
}


export function updata(data) {
  return request({
    url: '/oms/orderInfo/updata',
    method: 'post',
    data: data
  })
}


